Optimal. Leaf size=138 \[ \frac {\sqrt {2} F_1\left (\frac {1}{2}+m;\frac {1}{2},\frac {5}{2};\frac {3}{2}+m;\frac {1}{2} (1+\sin (e+f x)),-\frac {d (1+\sin (e+f x))}{c-d}\right ) \cos (e+f x) (a+a \sin (e+f x))^m \sqrt {\frac {c+d \sin (e+f x)}{c-d}}}{(c-d)^2 f (1+2 m) \sqrt {1-\sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 138, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {2867, 145, 144,
143} \begin {gather*} \frac {\sqrt {2} \cos (e+f x) (a \sin (e+f x)+a)^m \sqrt {\frac {c+d \sin (e+f x)}{c-d}} F_1\left (m+\frac {1}{2};\frac {1}{2},\frac {5}{2};m+\frac {3}{2};\frac {1}{2} (\sin (e+f x)+1),-\frac {d (\sin (e+f x)+1)}{c-d}\right )}{f (2 m+1) (c-d)^2 \sqrt {1-\sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 143
Rule 144
Rule 145
Rule 2867
Rubi steps
\begin {align*} \int \frac {(a+a \sin (e+f x))^m}{(c+d \sin (e+f x))^{5/2}} \, dx &=\frac {\left (a^2 \cos (e+f x)\right ) \text {Subst}\left (\int \frac {(a+a x)^{-\frac {1}{2}+m}}{\sqrt {a-a x} (c+d x)^{5/2}} \, dx,x,\sin (e+f x)\right )}{f \sqrt {a-a \sin (e+f x)} \sqrt {a+a \sin (e+f x)}}\\ &=\frac {\left (a^2 \cos (e+f x) \sqrt {\frac {a-a \sin (e+f x)}{a}}\right ) \text {Subst}\left (\int \frac {(a+a x)^{-\frac {1}{2}+m}}{\sqrt {\frac {1}{2}-\frac {x}{2}} (c+d x)^{5/2}} \, dx,x,\sin (e+f x)\right )}{\sqrt {2} f (a-a \sin (e+f x)) \sqrt {a+a \sin (e+f x)}}\\ &=\frac {\left (a^4 \cos (e+f x) \sqrt {\frac {a-a \sin (e+f x)}{a}} \sqrt {\frac {a (c+d \sin (e+f x))}{a c-a d}}\right ) \text {Subst}\left (\int \frac {(a+a x)^{-\frac {1}{2}+m}}{\sqrt {\frac {1}{2}-\frac {x}{2}} \left (\frac {a c}{a c-a d}+\frac {a d x}{a c-a d}\right )^{5/2}} \, dx,x,\sin (e+f x)\right )}{\sqrt {2} (a c-a d)^2 f (a-a \sin (e+f x)) \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\\ &=\frac {\sqrt {2} F_1\left (\frac {1}{2}+m;\frac {1}{2},\frac {5}{2};\frac {3}{2}+m;\frac {1}{2} (1+\sin (e+f x)),-\frac {d (1+\sin (e+f x))}{c-d}\right ) \cos (e+f x) (a+a \sin (e+f x))^m \sqrt {\frac {c+d \sin (e+f x)}{c-d}}}{(c-d)^2 f (1+2 m) \sqrt {1-\sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(373\) vs. \(2(138)=276\).
time = 1.64, size = 373, normalized size = 2.70 \begin {gather*} -\frac {6 (c+d) F_1\left (\frac {1}{2};\frac {1}{2}-m,\frac {5}{2};\frac {3}{2};\cos ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right ),\frac {2 d \sin ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )}{c+d}\right ) \cos ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )^{-\frac {1}{2}+m} \cot \left (\frac {1}{4} (2 e+\pi +2 f x)\right ) (a (1+\sin (e+f x)))^m \sin ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right )^{\frac {1}{2}-m}}{f (c+d \sin (e+f x))^{5/2} \left (3 (c+d) F_1\left (\frac {1}{2};\frac {1}{2}-m,\frac {5}{2};\frac {3}{2};\cos ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right ),\frac {2 d \sin ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )}{c+d}\right )+\left (10 d F_1\left (\frac {3}{2};\frac {1}{2}-m,\frac {7}{2};\frac {5}{2};\cos ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right ),\frac {2 d \sin ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )}{c+d}\right )-(c+d) (-1+2 m) F_1\left (\frac {3}{2};\frac {3}{2}-m,\frac {5}{2};\frac {5}{2};\cos ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right ),\frac {2 d \sin ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )}{c+d}\right )\right ) \sin ^2\left (\frac {1}{4} (2 e-\pi +2 f x)\right )\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.07, size = 0, normalized size = 0.00 \[\int \frac {\left (a +a \sin \left (f x +e \right )\right )^{m}}{\left (c +d \sin \left (f x +e \right )\right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{m}}{\left (c + d \sin {\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (e+f\,x\right )\right )}^m}{{\left (c+d\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________